import request from '@/utils/request'

// 查询小红书退货售后列表
export function listBiXhsReturnAftersales(query) {
  return request({
    url: '/live/BiXhsReturnAftersales/list',
    method: 'get',
    params: query
  })
}

// 查询小红书退货售后详细
export function getBiXhsReturnAftersales(id) {
  return request({
    url: '/live/BiXhsReturnAftersales/' + id,
    method: 'get'
  })
}

// 新增小红书退货售后
export function addBiXhsReturnAftersales(data) {
  return request({
    url: '/live/BiXhsReturnAftersales',
    method: 'post',
    data: data
  })
}

// 修改小红书退货售后
export function updateBiXhsReturnAftersales(data) {
  return request({
    url: '/live/BiXhsReturnAftersales',
    method: 'put',
    data: data
  })
}

// 删除小红书退货售后
export function delBiXhsReturnAftersales(id) {
  return request({
    url: '/live/BiXhsReturnAftersales/' + id,
    method: 'delete'
  })
}
